package cj.web.admin.constants;

public class Constants {

	public static String charset = "utf-8";  
	
	//返回对象
	public interface returnObj
	{
		//0:true
		public String returnFlag_true="0";
		//1:flase
		public String returnFlag_flase="1";
		//2:操作重复
		public String returnFlag_repeat="2";
		//3:操作人自己
		public String returnFlag_3="3";
		
		public interface returnCode
		{
			//A001:已存在
			public String code_1="A001";
			//A002:不存在
			public String code_2="A002";
			//A003:状态不符合
			public String code_3="A003";
			//A004:密码错误
			public String code_4="A004";
			//A005:超过约定数量
			public String code_5="A005";
			//A006:结束
			public String code_6="A006";
			
			public String code_7="A007";
			//A008:未开始
			public String code_8="A008";
		}
		
		public interface returnPraise
		{
			//P001:点赞
			public String code_1="P001";
			//P002:取消点赞
			public String code_2="P002";
		}
	}
	
	public static interface flag
	//flag（1、是；0、否）
	{
		public static int type0=0;
		public static int type1=1;
	}
	
	//门户
	public interface portal
	{
		//发布状态（0.不发布；1.发布；2.撤销）
		public interface releaseState
		{
			//0:不发布
			public int state_0=0;
			//1:发布
			public int state_1=1;
			//2:撤销
			public int state_2=2;
		}
		
		//状态（0：不启用；1：启用）
		public interface userState
		{
			//0:不启用
			public int state_0=0;
			//1:启用
			public int state_1=1;
		}
	} 
	
	//删除标记 0:删除 1:没删除
	public interface deleteFlag
	{
		//0:删除
		public int deleteFlag_0=0;
		//1:没删除
		public int deleteFlag_1=1;
	}
	
	//管理员账户
	public static final String ADMIN = "admin"; 
}
